package com.xpec.c4.service.ioc;

import java.lang.reflect.Method;

/**
 * Cglib的代理方法Out处理
 * 
 * @author lipeilin
 * 
 */
public class OutInterceptor implements AOPMethodInterceptor {

	/**
	 * 
	 */
	private static final long serialVersionUID = 62271016393093317L;

	@Override
	public boolean beforeMethod(Object obj, Method method, Object[] args) {
		return true;
	}
	
	@Override
	public boolean afterMethod(Object obj, Method method, Object[] args) {
		IocAction.outObject(obj);
		return true;
	}

}
